import React from 'react';

export default class Menu extends React.Component {
  constructor(props) {
    super(props);
    this.props.icon = props?.icon;
    // this.props.alt = props?.alt;
    this.props.title = props?.title;
  }

  props = {
    icon: null,
    alt: '',
    title: '',
  };

  render() {
    return (
      <div>
        {this.props?.icon}
        {/*<img src={this.props.image} alt={this.props.alt}/>*/}
        <span style={{ marginLeft: 3 }}>{this.props.title}</span>
      </div>
    );
  }
}

